package pers.brozen.anka.apis.params;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author Brozen
 * @since 2024-05-28
 */
@Data
public class PageParam {

    @NotNull
    @Min(0)
    @Max(50)
    private Integer page;

    @NotNull
    @Min(4)
    @Max(12)
    private Integer size;

}
